package com.ruoyi.client.service;

import com.ruoyi.client.domain.vo.TagsTreeVo;
import com.ruoyi.client.domain.entity.BlogTagsCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.mybatis.core.page.PageQuery;
import com.ruoyi.common.mybatis.core.page.TableDataInfo;

import java.util.List;

/**
 * <p>
 * 标签分类表 服务类
 * </p>
 *
 * @author fz
 * @since 2025-02-27
 */
public interface IBlogTagsCategoryService extends IService<BlogTagsCategory> {

    TableDataInfo<BlogTagsCategory> selectBlogTagCategoryList(PageQuery query);

    boolean addBlogTagCategory(BlogTagsCategory tagsCategory);

    boolean updateTagCategory(BlogTagsCategory blogTagsCategory);

    boolean deleteTagCategory(Long[] ids);

    List<TagsTreeVo> tree();
}
